package com.zhou.bpm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Author: zhoujinchuan
 * @Description: TODO（流程节点审批人对象）
 * @CreateTime: 2023/10/25 9:33
 */
@Data
@TableName(value = "bpm_node_approver")
public class BpmNodeApprover {
    private static final long serialVersionUID=1L;

    @ApiModelProperty("主键")
    @JsonSerialize(using = ToStringSerializer.class)
    @TableId(type = IdType.AUTO, value = "id")
    private Integer id;

    @ApiModelProperty("节点id")
    @TableField(value = "node_id")
    private Integer nodeId;

    @ApiModelProperty("登录账号")
    @TableField(value = "member_code")
    private Integer memberCode;

    @ApiModelProperty("用户名")
    @TableField(value = "member_name")
    private String memberName;

}
